# $Id: PKGBUILD 71844 2012-06-02 10:32:40Z bluewind $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=pork
pkgver=0.99.8.1
pkgrel=6
pkgdesc="Console-based AOL Instant Messenger & IRC client"
arch=('i686' 'x86_64')
url="http://dev.ojnk.net/"
license=('GPL')
depends=('ncurses' 'perl')
source=(http://downloads.sourceforge.net/sourceforge/ojnk/$pkgname-$pkgver.tar.gz)
sha256sums=('f0d4cad21017fd75b3c200342c54dd56d9ff7bc38d1e9b3c8ba686ba53d585ed')

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}
